package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void sos(Integer status,Long id);

    void addDish(DishDTO dishDTO);

    DishDTO getDish(Long id);

    void deleteDish(String ids);

    void updateDish(DishDTO dishDTO);

    List<DishDTO> list(Long categoryId);

    List<DishVO> listWithFlavor(Dish dish);
}
